import { removeToken } from '@/utils/cookie'
import router from '@/router'
export default {
  namespaced: true,
  state: {
    username: ''
  },
  mutations: {},
  actions: {
    logOut () {
      removeToken()
      router.push({ name: 'user.login' })
    }
  }
}
